package com.weic.design.decorator;

/**
 * 具体装饰
 */
public class ConcreteDecorator extends Decorator{

    public ConcreteDecorator(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        super.operation();
        otherOperation();

    }
    private void otherOperation(){
        System.out.println("这是额外增加的操作");
    }
}
